package com.liangzhong.modules.guide.command
{
	import com.liangzhong.constants.ApplicationConstants;
	import com.liangzhong.proxy.guide.GuideProxy;
	
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;

	/**
	 *新手引导 
	 * @author lake
	 * 
	 */	
	public class GuideCommand extends SimpleCommand
	{
		public function GuideCommand()
		{
			super();
		}
		override public function execute(notification:INotification):void
		{
			var proxy :GuideProxy = facade.retrieveProxy(GuideProxy.ProxyName) as GuideProxy;
			switch(notification.getName())
			{
				case ApplicationConstants.GUIDE_POSTGUIDE://提交引导
				{
					proxy.postGuide(notification.getBody());
					break;
				}
			}
		}
	}
}